package 运动员和教练;

public class basketballcoach extends coach{
    public basketballcoach() {
    }

    public basketballcoach(String name, int age) {
        super(name, age);
    }

    @Override
    public  void eat(){
        System.out.println("吃篮球");
    }
    @Override
    public void teach() {
        System.out.println("教篮球");
    }
}
